#include "CRunner.h"
#include "CCoroutineImpl.h"

namespace TB
{
	CRunner::CRunner(const std::weak_ptr<CThreadPool>& poThreadPool)
	{
		m_poCoroutine = std::shared_ptr<CCoroutine>(new CCoroutine(poThreadPool));
		m_poCoroutine->Init(m_poCoroutine);
	}
}